#include "MaterialCameraNodeView.h"

#include "MaterialGraph/Node/MaterialGraphNodeViewModel.h"
#include "MaterialCameraNodeViewModel.h"

void RMaterialCameraNodeView::BindViewModel(TSharedObjectPtr<RMaterialGraphNodeViewModel> InModel)
{
    Super::BindViewModel(InModel);
    CameraViewModel=InModel;
}

void RMaterialCameraNodeView::RegenerateContentWidget()
{
    Super::RegenerateContentWidget();

    for(int64_t OutputIndex=0;OutputIndex<OutputPinViews.Num();++OutputIndex)
    {
        CreateSimpleOutputPinWidget(RootWidget,RootWidget,OutputIndex,OutputIndex+1);
    }

}
